package cn.bupt.adt.service;

import java.util.Date;

import org.springframework.stereotype.Service;

import cn.bupt.adt.entity.autogenerate.InstitutionAppUser;
import cn.bupt.adt.entity.autogenerate.InstitutionView;

@Service
public interface IInstitutionAppUserService {

	public InstitutionView getInstitutionByAccount(String account);

	public void updateLoginTimeById(Integer id, Date loginTime);

	public InstitutionAppUser getInstitutionById(Integer userId);

	public boolean changePasswd(InstitutionAppUser ins, String newPasswd);

	public void updateInstitutionAppUser(InstitutionAppUser ins);

	public InstitutionView getInstitutionViewById(Integer userId);

}
